package com.itheima.health.service;

import com.itheima.health.entity.PageResult;
import com.itheima.health.entity.QueryPageBean;
import com.itheima.health.pojo.CheckGroup;
import com.itheima.health.pojo.Setmeal;

import java.util.List;

/**
 * @package：com.itheima.health.service
 * @Author: mint
 * @Date: 2024/7/13 17:00
 */
public interface SetmealService {
    List<Setmeal> findAll();
    Setmeal findFullSetmealById(Integer id);
    Setmeal findById(Integer id);
    PageResult findPage(QueryPageBean queryPageBean);
    List<Integer> findCheckGroupIds(Integer setmealId);

    void add(Setmeal setmeal, Integer[] checkgroupIds);

    void update(Setmeal setmeal, Integer[] checkgroupIds);

    void deleteById(Integer id);
}
